package sys.service;

import org.springframework.web.bind.annotation.RequestBody;
import sys.core.ResponseResult;
import sys.entity.PageData;
import sys.entity.TeacherEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author Administrator
 */
public interface TeacherService {

    void add(TeacherEntity entity);

    void delete(TeacherEntity entity);

    void update(TeacherEntity entity);

    List<TeacherEntity> select(TeacherEntity entity);

    List<TeacherEntity> select();

    PageData<TeacherEntity> likeSelect(TeacherEntity entity);

    void exportExcel(TeacherEntity entity, HttpServletResponse response);

    /**
     * 教师统计
     *
     * @return
     */
    ResponseResult teacherCount();

    ResponseResult count();
}
